package com.gimi.cloud.jimi.manage.service.sys;

import com.gimi.cloud.jimi.dto.sys.SysAuthorityDTO;

/**
 * Created by shazhiwei on 2017/12/18.
 */
public interface AuthService {
//    List<Map<String,Object>> getAuthList(AuthListParams params);

//    List<SysMenuDTO> getAuthTree(AuthListParams params);

//    void doAuth(DoAuthParams params) throws MsgException;

    /**
     * 授权
     * @param dto
     * @param roId 角色id
     * @param meIds 菜单集合,多个已逗号分隔
     * @return 授权结果
     * @throws Exception
     */
    SysAuthorityDTO doAuth(SysAuthorityDTO dto, Integer roId, String meIds);
}
